import Vue from 'vue';
import App from './App.vue';
import VueLazyload from 'vue-lazyload';
import axios from 'axios';
import VueAxios from 'vue-axios';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueRouter from 'vue-router';
import routes from './router/router';
import store from './Vuex/store';
var infiniteScroll =  require('vue-infinite-scroll');
Vue.use(VueRouter);
Vue.use(ElementUI);
Vue.use(infiniteScroll);
Vue.use(VueAxios,axios);
Vue.use(VueLazyload, {
  loading: 'https://tvax3.sinaimg.cn/large/005BYqpggy1g28fwh5g7oj31hc0u0u0x.jpg',
});
Vue.config.productionTip = false
const router = new VueRouter({
  routes
})
new Vue({
  render: h => h(App),
  router,
  store:store,
}).$mount('#app');
